Skip to content

fix: add --clobber to release-github-assets script #4628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 15, 2021

Conversation

jsjoeio
Copy link
Contributor

@jsjoeio jsjoeio commented Dec 15, 2021

This PR fixes our release-github-assets script. Now if you run it twice, it will overwrite the assets uploaded to a release draft (which is the behavior I believe it previously had).

This is okay to do since the script is run by a developer prepping a release and it is unlikely you would accidentally run this script twice without wanting to overwrite uploaded assets.

Fixes #4602

@jsjoeio jsjoeio added the chore Related to maintenance or clean up label Dec 15, 2021
@jsjoeio jsjoeio self-assigned this Dec 15, 2021
@jsjoeio jsjoeio requested a review from a team as a code owner December 15, 2021 17:25
@github-actions
Copy link

github-actions bot commented Dec 15, 2021

✨ Coder.com for PR #4628 deployed! It will be updated on every commit.

@codecov
Copy link

codecov bot commented Dec 15, 2021

Codecov Report

Merging #4628 (3703a2d) into main (7561fc4) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4628   +/-   ##
=======================================
  Coverage   66.10%   66.10%           
=======================================
  Files          30       30           
  Lines        1658     1658           
  Branches      337      337           
=======================================
  Hits         1096     1096           
  Misses        477      477           
  Partials       85       85           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7561fc4...3703a2d. Read the comment docs.

@repo-ranger repo-ranger bot merged commit 6e9e411 into main Dec 15, 2021
@repo-ranger repo-ranger bot deleted the jsjoeio-fix-release-script branch December 15, 2021 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Related to maintenance or clean up
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix gh release upload overwrite
2 participants